<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>利用函数反转数组</title>
		<script type="text/javascript">
			function getReserve(arr) {
				var arrNew = [];
				for(var i = arr.length - 1;i >= 0; i--) {
					arrNew[arrNew.length] = arr[i];
				}
				return arrNew;
			}
			console.log(['a','b','c'])
		</script>
	</head>
	<body>
	</body>
</html>
